import request from "@/utils/http";

export const getBannersAPI = (distributionSite = 1) => {
  return request({
    url: "/home/banner",
    data: {
      distributionSite,
    },
  });
};
export const getCategoryAPI = () => {
  return request({
    url: "/home/category/mutli",
  });
};
/**
 *
 * @param {page,pageSize} data
 * @returns
 */
export const getLikesAPI = (data) => {
  return request({
    url: "/home/goods/guessLike",
    data,
  });
};
// 热门推荐

export const getHotsAPI = () => {
  return request({
    url: "/home/hot/mutli",
  });
};
export const getRecomendsAPI = (url, data) => {
  return request({
    url,
    data,
  });
};
